#列表找出最小值 [6,5,2,8,4,2,6,5,8,2,5,0]
a=0
l=[6,5,2,8,4,2,6,5,8,2,5,0]
w=l[0]
while a<len(l):
    if l[a]<w:
        w=l[a]
    a+=1
print(w)